﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Envision4IT.data.model
{
    public class Project
    {
        public int ProjectID { get; set; }

        public string UserID { get; set; }

        public DateTime StartDate { get; set; }

        public DateTime? DateDeleted { get; set; }

        public string ProjectName { get; set; }

        public DateTime? TargetDate { get; set; }

        public DateTime? CompletionDate { get; set; }

        public virtual List<Solution> Solutions { get; set; }

        [ForeignKey("DocumentID")]
        public List<int> DocumentIDs { get; set; }

        public virtual List<ProjectNote> ProjectNotes { get; set; }
    }
}